#include "bcstmainthread.h"
#include "./qzmthrift/thrift_generate/Thrift.h"
#include <thrift/protocol/TBinaryProtocol.h>
#include <thrift/server/TSimpleServer.h>
#include <thrift/server/TNonblockingServer.h> //qA190415
#include <thrift/transport/TServerSocket.h>
#include <thrift/transport/TBufferTransports.h>
#include <QDebug>

using namespace ::apache::thrift;
using namespace ::apache::thrift::protocol;
using namespace ::apache::thrift::transport;
using namespace ::apache::thrift::server;
using namespace ::apache::thrift::stdcxx;

BcstMainThread::BcstMainThread(QObject *parent) : QThread (parent)
{

}

void BcstMainThread::enableThread()
{
    m_isRun = true;
    this->start();
}

void BcstMainThread::disableThread()
{
    m_isRun = false;
}

void BcstMainThread::run()
{
    qDebug()<<"Enter BcstMainThread::run()";
    while(m_isRun)
    {


    }
}





